package com.esdk.test.orm;
import java.sql.ResultSet;
import java.sql.SQLException;
import com.esdk.sql.orm.ParentResultSet;
import java.util.Date;

public class SysUserResultSet extends ParentResultSet<SysUserRow>{
  public static final SysUserMetaData metaData=SysUserSelect.metaData;
  public static final SysUserMetaData md=metaData;
  public SysUserResultSet(ResultSet value){
    super(value);
  }

  public SysUserRow createRowInstance(){
    return new SysUserRow();
  }

  public SysUserRow getCurrentRow()throws SQLException{
    return (SysUserRow)super.gainCurrentRow(rs);
  }

  public SysUserRow[] getAllRow()throws SQLException{
    return gainAllRow().toArray(new SysUserRow[0]);
  }

  public Long getUserId()throws SQLException{
    return getRow().getLong(SysUserMetaData.UserId);
  }

  public String getUserType()throws SQLException{
    return getRow().getString(SysUserMetaData.UserType);
  }

  public String getUserCode()throws SQLException{
    return getRow().getString(SysUserMetaData.UserCode);
  }

  public String getUserName()throws SQLException{
    return getRow().getString(SysUserMetaData.UserName);
  }

  public String getUserNick()throws SQLException{
    return getRow().getString(SysUserMetaData.UserNick);
  }

  public String getSex()throws SQLException{
    return getRow().getString(SysUserMetaData.Sex);
  }

  public String getMobile()throws SQLException{
    return getRow().getString(SysUserMetaData.Mobile);
  }

  public String getEmail()throws SQLException{
    return getRow().getString(SysUserMetaData.Email);
  }

  public String getPassword()throws SQLException{
    return getRow().getString(SysUserMetaData.Password);
  }

  public String getRemark()throws SQLException{
    return getRow().getString(SysUserMetaData.Remark);
  }

  public String getAvatarUrl()throws SQLException{
    return getRow().getString(SysUserMetaData.AvatarUrl);
  }

  public Long getTenantId()throws SQLException{
    return getRow().getLong(SysUserMetaData.TenantId);
  }

  public Long getLoginTenantId()throws SQLException{
    return getRow().getLong(SysUserMetaData.LoginTenantId);
  }

  public String getTenantIds()throws SQLException{
    return getRow().getString(SysUserMetaData.TenantIds);
  }

  public String getTenantNames()throws SQLException{
    return getRow().getString(SysUserMetaData.TenantNames);
  }

  public String getOrgIds()throws SQLException{
    return getRow().getString(SysUserMetaData.OrgIds);
  }

  public String getOrgNames()throws SQLException{
    return getRow().getString(SysUserMetaData.OrgNames);
  }

  public String getRoleIds()throws SQLException{
    return getRow().getString(SysUserMetaData.RoleIds);
  }

  public String getRoleNames()throws SQLException{
    return getRow().getString(SysUserMetaData.RoleNames);
  }

  public String getRank()throws SQLException{
    return getRow().getString(SysUserMetaData.Rank);
  }

  public Boolean getIsEnabled()throws SQLException{
    return getRow().getBoolean(SysUserMetaData.IsEnabled);
  }

  public Boolean getValid()throws SQLException{
    return getRow().getBoolean(SysUserMetaData.Valid);
  }

  public Date getCreateTime()throws SQLException{
    return getRow().getDate(SysUserMetaData.CreateTime);
  }

  public Long getCreateUserId()throws SQLException{
    return getRow().getLong(SysUserMetaData.CreateUserId);
  }

  public String getCreateUserName()throws SQLException{
    return getRow().getString(SysUserMetaData.CreateUserName);
  }

  public Date getUpdateTime()throws SQLException{
    return getRow().getDate(SysUserMetaData.UpdateTime);
  }

  public Long getUpdateUserId()throws SQLException{
    return getRow().getLong(SysUserMetaData.UpdateUserId);
  }

  public String getUpdateUserName()throws SQLException{
    return getRow().getString(SysUserMetaData.UpdateUserName);
  }

  public Integer getVersion()throws SQLException{
    return getRow().getInteger(SysUserMetaData.Version);
  }

}
